	<header class="media-post">
<?php while(have_posts()): the_post();
if( has_post_thumbnail() ) echo "		<div class=\"cover\"><div class=\"cover-box\"><div>".ini_thumb(250,250,1)."</div></div></div>\n";
?>
		<h2 class="entry-title"><?php the_title()?></h2>
		<?php if(get('ini_rate')) fancyratings()?>
		<section>
<?php
if( get_post_meta($post->ID, 'm_title', true) ) echo "<small><strong>专辑：</strong>".get_post_meta($post->ID, 'm_title', true)."</small>";
if( get_post_meta($post->ID, 'm_author', true) ) echo "<small><strong>作者：</strong>".get_post_meta($post->ID, 'm_author', true)."</small>";
if( get_post_meta($post->ID, 'm_year', true) )  echo "<small><strong>年份：</strong>".get_post_meta($post->ID, 'm_year', true)."</small>";
if( get_the_tags() )  echo "<small><strong>标签：</strong>".i_tags()."</small>";
if( !(ini_count($text))==0 ){    # 判断是否有文字
	echo '<div class="excerpt"><strong>简介：</strong>';
	ini_excerpt();
	echo "</div>\n";
}
?>
		</section>
	</header>

<div id="content">
<div id="article">
<?php if( get('ini_ad3') && get('ini_mad') ) echo "<div class=\"ad3\">".get('ini_ad3_code')."</div>\n"; ?>
<div class="context"><?php the_content()?></div>
</div>
<?php wp_link_pages( array('before'=>'<div id="nextpage">', 'after'=>'</div>','next_or_number'=>'next','nextpagelink'=>__('继续阅读'),'previouspagelink'=>'') )?>
<?php ini_bdshare()?>
<?php if( get('ini_ad4') && get('ini_mad') ) echo "<div class=\"ad4\">".get('ini_ad4_code')."</div>\n"; ?>
<div class="post-nav">
<?php
$prev_post = get_previous_post();
echo get_previous_post()? '				<p>上一篇：<a href="'.wp_get_shortlink( $prev_post->ID ).'">'.$prev_post->post_title.'</a></p>': ''?>
<?php $next_post = get_next_post();
echo get_next_post()? '				<p>下一篇：<a href="'.wp_get_shortlink( $next_post->ID ).'">'.$next_post->post_title.'</a></p>': '				<p>如果给等待加一个期限，你希望是多久...</p>';
?>
</div>
<?php include "related.php"?>
</div>
<?php comments_template()?>
<?php endwhile?>